using System;
using System.Collections.Generic;

namespace ConsoleApplication2.Models
{
    public partial class Cstctr
    {
        public Cstctr()
        {
            this.AcctOpenings = new List<AcctOpening>();
            this.Acctttls = new List<Acctttl>();
            this.Apbatches = new List<Apbatch>();
            this.Apbtchdts = new List<Apbtchdt>();
            this.Apmemoes = new List<Apmemo>();
            this.ApPaydets = new List<ApPaydet>();
            this.ApPymts = new List<ApPymt>();
            this.Arbatches = new List<Arbatch>();
            this.Arbtchdts = new List<Arbtchdt>();
            this.Batchdets = new List<Batchdet>();
            this.Batchttls = new List<Batchttl>();
            this.Budgets = new List<Budget>();
            this.Gls = new List<Gl>();
            this.Ips = new List<Ip>();
            this.Ipadjusts = new List<Ipadjust>();
            this.Payments = new List<Payment>();
            this.Ps = new List<P>();
            this.Refunds = new List<Refund>();
            this.Registers = new List<Register>();
            this.Vbatchdets = new List<Vbatchdet>();
        }

        public string DESC { get; set; }
        public string CSTCTR1 { get; set; }
        public short ID { get; set; }
        public string File_Primary_Key { get; set; }
        public bool HeaderCstCtr { get; set; }
        public bool isdefault { get; set; }
        public string subdatabase { get; set; }
        public virtual ICollection<AcctOpening> AcctOpenings { get; set; }
        public virtual ICollection<Acctttl> Acctttls { get; set; }
        public virtual ICollection<Apbatch> Apbatches { get; set; }
        public virtual ICollection<Apbtchdt> Apbtchdts { get; set; }
        public virtual ICollection<Apmemo> Apmemoes { get; set; }
        public virtual ICollection<ApPaydet> ApPaydets { get; set; }
        public virtual ICollection<ApPymt> ApPymts { get; set; }
        public virtual ICollection<Arbatch> Arbatches { get; set; }
        public virtual ICollection<Arbtchdt> Arbtchdts { get; set; }
        public virtual ICollection<Batchdet> Batchdets { get; set; }
        public virtual ICollection<Batchttl> Batchttls { get; set; }
        public virtual ICollection<Budget> Budgets { get; set; }
        public virtual ICollection<Gl> Gls { get; set; }
        public virtual ICollection<Ip> Ips { get; set; }
        public virtual ICollection<Ipadjust> Ipadjusts { get; set; }
        public virtual ICollection<Payment> Payments { get; set; }
        public virtual ICollection<P> Ps { get; set; }
        public virtual ICollection<Refund> Refunds { get; set; }
        public virtual ICollection<Register> Registers { get; set; }
        public virtual ICollection<Vbatchdet> Vbatchdets { get; set; }
    }
}
